package com.dao;

import com.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    List<User> findUserList(@Param("begin") Integer begin,@Param("size") Integer size,@Param("username") String username);
    User login(String username);
    int addUser(User user);
    int getCount(String username);
}
